cd DD\
for %%i in (*.c) do echo %%i >> ..\s.txt
cd ..\